package com.myutil.draw;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

import com.myutil.graph.CorEdge;
import com.myutil.graph.CorNode;

public class PlayWindows {
	
	public PlayWindows(Map map) {
		JFrame mainFrame=new JFrame("show");
		mainFrame.add(map,BorderLayout.CENTER);
		mainFrame.setVisible(true);
		mainFrame.setBounds(200, 200, 300, 300);
		mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		JPanel control=new JPanel();
		JButton button1=new JButton("改变点");
		control.add(button1);
		mainFrame.add(control,BorderLayout.SOUTH);
		button1.addActionListener(new ActionListener() {
			@Override
			public void actionPerformed(ActionEvent e) {
				
			}
		});
	}

}
